package _15FileInputStream读一个字节;

import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;

public class ReadDemo {
    public static void main(String[] args) throws IOException {
        FileInputStream fis = new FileInputStream("D:\\黑马java培训班\\代码\\itcast\\JavaSE\\day10\\abd\\aa\\b.txt");
        int read ;
        while ((read=fis.read())!=-1){
            System.out.println((char) read);
        }
        fis.close();
    }
}
